第 1 步:要开始这个游戏,我们需要一个词!背景和精灵代码已为您添加。

  • 并在代码底部放置Ask
  • .ask()中的字符串更改为"Enter a word for the other player to guess!"
  • 点击运行并在询问气泡中输入任何单词!输入一个词来测试我们的代码是否有效是很重要的。确保在每次活动后输入一个单词并测试您的代码!然后点击提交接下来

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)